cmake_minimum_required(VERSION 3.16)
project(Ex6)

set(CMAKE_CXX_STANDARD 11)

add_executable(Ex6 main.cpp Animal.cpp Animal.h Dog.cpp Dog.h Cat.cpp Cat.h AnimalCore.cpp AnimalCore.h ExprNode.cpp ExprNode.h LeafNode.h OpNode.h NumberNode.cpp NumberNode.h BinaryOpNode.h UnaryOpNode.h PlusNode.cpp PlusNode.h MinusNode.cpp MinusNode.h MulNode.cpp MulNode.h DivNode.cpp DivNode.h UnaryMinusNode.cpp UnaryMinusNode.h UnaryPlusNode.cpp UnaryPlusNode.h Lexer.cpp Lexer.h common.h Parser.cpp Parser.h Expr.cpp Expr.h)